﻿<div class="modal fade" id="change-password" role="dialog">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h2 class="modal-title">更改密码</h2>
            </div>
            <div class="modal-body">
                <form class="form-horizontal">
                    <fieldset>
                        <legend class="hidden">更改密码</legend>
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label class="col-md-3 col-sm-4 control-label" for="change-password-old">旧密码</label>
                                    <div class="col-md-9 col-sm-8">
                                        <div class="input-group">
                                            <span class="input-group-addon">
                                                <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
                                            </span>
                                            <input type="password" class="form-control input-sm" id="change-password-old" name="change-password-old" maxlength="@Home.Services.SecurityService.SecurityServiceHelper.MaxPasswordLength" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label class="col-md-3 col-sm-4 control-label" for="change-password-new">新密码</label>
                                    <div class="col-md-9 col-sm-8">
                                        <div class="input-group">
                                            <span class="input-group-addon">
                                                <span class="glyphicon glyphicon-lock text-info" aria-hidden="true"></span>
                                            </span>
                                            <input type="password" class="form-control input-sm" id="change-password-new" name="change-password-new" maxlength="@Home.Services.SecurityService.SecurityServiceHelper.MaxPasswordLength" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <label class="col-md-3 col-sm-4 control-label" for="change-password-confirm">确认新密码</label>
                                    <div class="col-md-9 col-sm-8">
                                        <div class="input-group">
                                            <span class="input-group-addon">
                                                <span class="glyphicon glyphicon-lock text-info" aria-hidden="true"></span>
                                            </span>
                                            <input type="password" class="form-control input-sm" id="change-password-confirm" name="change-password-confirm" maxlength="@Home.Services.SecurityService.SecurityServiceHelper.MaxPasswordLength" />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
            <div class="modal-footer home-action-group">
                <button type="button" class="btn btn-primary btn-sm" id="change-password-submit"><span class="glyphicon glyphicon-floppy-disk" aria-hidden="true"></span> 更改密码</button>
                <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>
